<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    a::before {
      /* content: "《"; */
      /* css 函数 */
      /* content: url(./a.png); */
      content: attr(title);
      color: red;
    }

    a::after {
      content: attr(alt) url(./a.png) "hahaha" attr(title);
      color: red;
    }

    /* a::after {
      content: none;
    } */
  </style>
</head>

<body>
  <a href="" alt="hi tag a" title="hello link">this is tag link</a>



</body>

</html>